#include <iostream>
#include <thread>
using namespace std;

void threadFunc(int x){
    cout << "x = " << x << endl;
    cout << "thread id = " << this_thread::get_id() << endl;
}


int main() {
    thread th(threadFunc, 1);
    th.join();

    return 0;
}
